- Title
- Cross-Language Binary-Source Code Matching with Intermediate Representations
- Creator
- Gui, Yi; Wan, Yao; Zhang, Hongyu; Huang, Huifang; Sui, Yulei; Xu, Guandong; Shao, Zhiyuan; Jin, Hai
- Relation
- IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) . Proceedings of IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) (Honolulu, HI 15 - 18 March 2022) p. 601-612
- Publisher Link
- http://dx.doi.org/10.1109/SANER53432.2022.00077
- Publisher
- Institute of Electrical and Electronics Engineers (IEEE)
- Resource Type
- conference paper
- Date
- 2022
- Description
- Binary- source code matching plays an important role in many security and software engineering related tasks such as malware detection, reverse engineering and vulnerability assessment. Currently, several approaches have been proposed for binary-source code matching by jointly learning the embeddings of binary code and source code in a common vector space. Despite much effort, existing approaches target on matching the binary code and source code written in a single programming language. However, in practice, software applications are often written in different programming languages to cater for different requirements and computing platforms. Matching binary and source code across programming languages introduces additional challenges when maintaining multi-language and multi-platform applications. To this end, this paper formulates the problem of cross-language binary-source code matching, and develops a new dataset for this new problem. We present a novel approach XLIR, which is a Transformer-based neural network by learning the intermediate representations for both binary and source code. To validate the effectiveness of XLIR, comprehensive experiments are conducted on two tasks of cross-language binary-source code matching, and cross-language source-source code matching, on top of our curated dataset. Experimental results and analysis show that our proposed XLIR with intermediate representations significantly outperforms other state-of-the-art models in both of the two tasks.
- Subject
- cross-language; clone detection; intermediate representation; binary code; code matching; deep learning
- Identifier
- http://hdl.handle.net/1959.13/1465529
- Identifier
- uon:47289
- Identifier
- ISBN:9781665437868
- Language
- eng
- Reviewed
- Hits: 2874
- Visitors: 2869
- Downloads: 0